<head>
    <link rel="stylesheet" type="text/css" media="all"  href="<?php echo base_url(); ?>assets/css/template.css" />

    <link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url(); ?>assets/css/grids.css" />

    <link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url(); ?>assets/css/content.css" />

    <link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url(); ?>assets/css/mod.css" />

    <link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url(); ?>assets/css/mod_skins.css" />

    <link rel="stylesheet" type="text/css" media="all" href="<?php echo base_url(); ?>assets/css/skin/template.css" />

    <style type="text/css" media="print">
    hr {
        margin: 0px;
    }
    @Page {
      size: landscape;
    }
    .no_display {
        display: none;
    }
    .line, lastUnit {
        overflow: visible;
    }
    </style>

</head>

<div class ="form exam">
    <div class="buttons no_display">
        *Please select "Landscape" for best result.
        <br />
        <button onclick="window.print();window.close();"  id="print" name="print">Print</button>
    </div>
    <div class ="clear"></div>
    <div class="unit">
        <div class="line">
                <label for="" class="bold">Name:</label>
                <div class="field" style="height:auto">
                  <?php echo $user['fname'].' '.$user['mname'].' '.$user['lname']; ?>
                </div>
        </div>
        <div class="line">
                <label for="" class="bold">Exam Name:</label>
                <div class="field" style="height:auto">
                  <?php echo $exam['exam_name']; ?>
                </div>
        </div>
    </div>

    <div class ="clear"></div>
   